<ng-template #footer>
  <div [ngStyle]="buttonStyle">
    <dhl-button *ngIf="!buttons" [name]="okText" icon="check"
                [loading]="loading" (click)="handleOk()"></dhl-button>
    <dhl-button *ngFor="let item of buttons"
                [loading]="item.loading"
                [name]="item.name"
                [icon]="item.icon"
                [type]="item.btnType ? item.btnType : 'primary' "
                [onClick]="item.buttonClick"></dhl-button>
    <dhl-button *ngIf="showCloseBtn" [name]="cancelText" icon="close" type="default"
                (click)="handleCancel()"></dhl-button>
  </div>
</ng-template>

